You are here: <%= link_to l(:common, 'home'), :controller=> "catalogue", :action => "index" %> >
<% for category in @category.ancestors.reverse %>
  <%= link_to category.name(get_hr_language), :controller => "categories", :action => "show", :id => category.id %> > 
<% end %>  
<%=h @category.name(get_hr_language) %>

<div class="category_desc">
  <% if @category_desc %>
    <%= @category_desc.description %>
  <% end %>
</div>

<% if @category.artworks.size < 1 %>
	<strong><%= Category.l_attr(:no_items) %></strong>
<% end %>

<script type="text/javascript">
// For pagination
var page_size = <%= CategoriesController::PAGE_SIZE %>;
var total = <%= @artworks_count %>;
var results_url = '<%= url_for(:action => 'ajax_results') %>';
var pag_options = {
  category: <%= @category_id %>
};
</script>

<div id="artwork_summaries">
  <span id="page_current" style="float:right">Showing <span id="page_start_count">1</span>-<span id="page_end_count">?</span> of <span id="page_total_count"><%= @artworks_count %></span></span>
  <div id="pagination_helper" class="pagination"></div>
  <div id="results"></div>
</div>